package com.device.search;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;

import com.device.search.jframe.DeviceJFrame;

@SpringBootApplication
@EnableAutoConfiguration
@ComponentScan({"com.device.search"})
@MapperScan("com.device.search.mapper")
public class DmsApplication {

	public static void main(String[] args) {
		SpringApplicationBuilder builder = new SpringApplicationBuilder(DmsApplication.class);
		ApplicationContext context = builder.headless(false).run(args);
		DeviceJFrame hjf = context.getBean(DeviceJFrame.class);
		hjf.setVisible(true);
	}

}

